<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script>
	window.onload=function(){
		if(top.location!=self.location){
			top.location=self.location;//将自己的地址赋值给整个容器
		}
	}
</script>
</head>
<body>
	<s:form action="login" id="signupform" method="post" namespace="/user">
		<s:fielderror value="msh" />
		<s:textfield name="user.userName" placeholder="姓   名" />

		<s:password name="user.password" placeholder="密   码" />

		<s:submit type="button" style="margin-top: 50px;"
			 width="283" height="40" border="0" />

	</s:form>
</body>
</html>
